WPTravelEngine\Modules\TripSearch D

Total Complexity 138
Dependencies 9
Dependents 11
Total lines 1,075
Lines of code 693
Logical lines of code 301
Comment lines 262
Methods 38
Properties 0

Methods 38

Method Rating Maintainability Complexity Lines of code
taxonomy_filter_html()
B
39 24 57
get_query_args()
B
30 19 122
init_hooks()
A
44 9 46
filter_trips_html()
A
43 9 42
search_filter_icon()
A
48 8 41
template_redirect()
S
57 7 15
search_form()
S
57 7 15
get_range()
S
48 5 32
get_localized_data()
S
48 4 29
load_trips_html()
S
51 4 25
filter_duration_render()
S
51 3 27
filter_taxonomies_render()
S
57 3 18
filter_price_render()
S
55 3 17
get_page_id()
S
62 4 10
get_filters_sections()
S
46 1 43
choose_page()
S
54 2 20
is_search_page()
S
65 3 8
search_filter_price()
S
54 1 26
search_filter_duration()
S
54 1 25
get_duration_range()
S
68 2 7
get_price_range()
S
68 2 7
__construct()
S
78 1 4
includes()
S
80 1 3
enqueue_trip_search_scripts()
S
79 1 3
enqueue_assets()
S
77 1 4
enqueue_scripts()
S
80 1 3
enqueue_styles()
S
80 1 3
filter_destinations_render()
S
79 1 3
filter_activities_render()
S
79 1 3
filter_trip_tag_render()
S
79 1 3
filter_difficulty_render()
S
79 1 3
filter_trip_types_render()
S
79 1 3
archive_filter_sidebar()
S
76 1 4
init()
S
75 1 4
search_results()
S
74 1 5
search_page()
S
89 1 2
search_fields()
S
89 1 2
settings()
S
64 1 9